#ifndef CIOPS_ACTIONOPCREATION_H
#define CIOPS_ACTIONOPCREATION_H

#include <QtGui>

namespace CIOps {
    /**
     * This class represents the action to create an operation
     **/
    class ActionOpCreation : public QAction { 

        Q_OBJECT      

        int operationToCreate;      //Indentifies the operation to create
        int viewsStatus;            //Represents the identifier of the status of the views whe this action is triggered

    public:
        ActionOpCreation (const QIcon& icon, const QString& text, QObject* parent, int vStatus, int op);     //Constructor

        int GetOperationID();
    public slots:
        void triggerHandler (bool c);           //Slot method to handle the triggered(bool) signal

    signals:    
        void triggered (int, int);              //Signal method to signal that the action has been triggered       
        void triggered (int);                   //Signal method to signal that the action has been triggered  
    };
}

#endif /* CIOPS_ACTIONOPCREATION_H */
